Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: Telephony /
Chapter 5 - Telephone Manager Messages / Telephone Manager Message Reference
Constants


Callback Activity Types

The telCACallbackMsg message provides information about callback activity on a call appearance. The value parameter contains one of the following constants to identify the type of activity.

enum {
   telCallbackCleared             = 0,
   telCallbackEst                 = 1,
   telCallbackNowAvail            = 2,
   telCallbackFailed              = 3,
   telCallbackDesired             = 4,
   telCallbackDesiredCleared      = 5,
   telCalledback                  = 6
};
Constant descriptions

telCallbackCleared
A callback request has been cleared. You previously originated the request because the destination number was busy, then you called the TELCallbackClear function to cancel the request. The hTELCA parameter to your message handler contains nil.
telCallbackEst
A callback request has been established as a result of a successful call to the TELCallbackSet function.
telCallbackNowAvail
A previously busy number is available. You previously established a callback request. You can complete the callback by calling the TELCallbackNow function. The hTELCA parameter to your message handler contains nil.
telCallbackFailed
The attempt to establish a callback request has failed.
telCallbackDesired
A remote party has requested a return call. You can respond to the callback request by calling the TELCallbackNow function to make the call or TELCallbackClear to clear the callback request. The hTELCA parameter to your message handler contains nil.
telCallbackDesiredCleared
A callback desired request has been cleared. Both ends get a callback message with this value parameter setting when either end (originator or target) clears a callback desired. The hTELCA parameter to your message handler contains nil.
telCalledback
A callback has been successfully completed. You get a callback message with this value parameter setting when either (1) you got a callback message with telCallbackDesired in the value parameter and you then called the TELCallbackNow function to return the call, or (2) you got a callback message with telCallbackNowAvail in the value parameter and you then called the TELCallbackNow function to call a previously busy number.

Previous Book Contents Book Index Next

© Apple Computer, Inc.
13 DEC 1996



Navigation graphic, see text links

Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help